<?php /* Smarty version 3.1.27, created on 2016-10-16 14:54:46
         compiled from "D:\wamp\www\mvc\views\User\edit.html" */ ?>
<?php
/*%%SmartyHeaderCode:24283580394b652c8d7_14385609%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4d3a3e68df1f4a9ad8600b2e242507511075eb36' => 
    array (
      0 => 'D:\\wamp\\www\\mvc\\views\\User\\edit.html',
      1 => 1476629636,
      2 => 'file',
    ),
    '41820bc0164f2ef58ec41b3ba65335fb4132a170' => 
    array (
      0 => 'D:\\wamp\\www\\mvc\\views\\User\\index.html',
      1 => 1476629638,
      2 => 'file',
    ),
    'b38534c36e49c9ee13958302e4cdbea936d76696' => 
    array (
      0 => 'b38534c36e49c9ee13958302e4cdbea936d76696',
      1 => 0,
      2 => 'string',
    ),
  ),
  'nocache_hash' => '24283580394b652c8d7_14385609',
  'variables' => 
  array (
    'title' => 0,
    'list' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_580394b6849780_34945957',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_580394b6849780_34945957')) {
function content_580394b6849780_34945957 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '24283580394b652c8d7_14385609';
?>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
    <link rel="stylesheet" href="./public/css/bootstrap.min.css">
    <link rel="stylesheet" href="./public/my.css">
</head>
<body>
    <div class="container">
        <h1><span class="glyphicon glyphicon-user"></span> <?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</h1>
        <div class="center-block mt20">
            <a href="./index.php?c=User&a=index" class="btn btn-info">首页</a>
            <a href="./index.php?c=User&a=add" class="btn btn-success">添加</a>
        </div>
        <?php
$_smarty_tpl->properties['nocache_hash'] = '24283580394b652c8d7_14385609';
?>



    <form action="./index.php?c=User&a=update" method="post" class="h3 mt20">
        <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
        name:
        <input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
" placeholder="请输入用户名"><br><br>
        sex:
        <input type="radio" name="sex" value="0" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 0) {?>checked<?php }?> >女
        <input type="radio" name="sex" value="1" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 1) {?>checked<?php }?> >男
        <input type="radio" name="sex" value="2" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 2) {?>checked<?php }?> >保密<br><br>
        age:
        <input type="text" name="age" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['age'];?>
"><br><br>
        province:
        <select name="province">
            <option value="江苏" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '江苏') {?>selected<?php }?> >江苏</option>
            <option value="上海" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '上海') {?>selected<?php }?> >上海</option>
            <option value="新疆" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '新疆') {?>selected<?php }?> >新疆</option>
            <option value="浙江" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '浙江') {?>selected<?php }?> >浙江</option>
            <option value="北京" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '北京') {?>selected<?php }?> >北京</option>
            <option value="深圳" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '深圳') {?>selected<?php }?> >深圳</option>
            <option value="纽约" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '纽约') {?>selected<?php }?> >纽约</option>
        </select><br><br>
        <input type="hidden" name="vcode" value="7998">
        <input type="hidden" name="hehe" value="你来打我啊!">
        <input type="hidden" name="haha" value="就不打你">
        <input type="submit" value="保存">
    </form>

    </div><!--END container-->
    
    

    <?php echo '<script'; ?>
 src="./public/js/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="./public/js/bootstrap.min.js"><?php echo '</script'; ?>
>
</body>
</html><?php }
}
?>